Method MaxRedbAsync<TField>(Expression<Func<IRedbObject, TField>>, CancellationToken)
Maximum value of base IRedbObject field (ValueLong, Key, DateCreate, etc.)
SQL: uses aggregate_grouped with empty grouping
public virtual Task<TField?> MaxRedbAsync<TField>(Expression<Func<IRedbObject, TField>> selector, CancellationToken cancellationToken = default) where TField : struct